package com.itheima.web.service.impl.cms;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.service.pms.CmsPrefrenceAreaProductRelationService;
import com.itheima.vo.cms.CmsPrefrenceAreaProductRelation;
import com.itheima.web.mapper.cms.CmsPrefrenceAreaProductRelationMapper;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@DubboService
public class CmsPrefrenceAreaProductRelationServiceImpl extends ServiceImpl<CmsPrefrenceAreaProductRelationMapper, CmsPrefrenceAreaProductRelation> implements CmsPrefrenceAreaProductRelationService {

    @Autowired
    private CmsPrefrenceAreaProductRelationMapper cpaMapper;

    @Override
    public List<CmsPrefrenceAreaProductRelation> getByProductId2(Integer id) {
        return cpaMapper.getByProductId2();
    }
}
